package com.hui.service;

import com.github.pagehelper.PageInfo;
import com.hui.dto.*;
import com.hui.entity.Assets;
import com.hui.entity.AssetsBorrow;
import com.hui.exception.VersionException;
import org.springframework.cache.annotation.CacheEvict;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.retry.annotation.Retryable;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface AssetsBorrowService {
    int insert(AssetsBorrowInsertDTO dto);

    AssetsBorrow select(Long id);

    List<AssetsBorrow> list();

    PageInfo<AssetsBorrow> page(AssetsBorrowPageDTO dto);

    int update(AssetsBorrowUpdateDTO dto);

    int delete(Long id);

    int deleteBatch(List<Long> ids);


}
